package com.pine.sunshineelder.elderheath.service;

import com.pine.sunshineelder.common.dto.QueryResult;
import com.pine.sunshineelder.common.entity.ElderHealthEntity;
import com.pine.sunshineelder.elderheath.ao.ElderHealthAddAo;
import com.pine.sunshineelder.elderheath.vo.ElderHealthQueryVo;
/**
 * 
 * @author 黄天静
 *
 */
public interface ElderHealthService {
	/**
	 * 新增老人健康信息
	 * 
	 * @param ao
	 * @return
	 * @throws Exception
	 */
	ElderHealthEntity addElderHealth(ElderHealthAddAo ao) throws Exception;
	/**
	 * 模糊分页查询老人健康信息
	 * @param id
	 * @throws Exception
	 */
	QueryResult<ElderHealthEntity> queryBykeyElderHealth(String key,Integer  pageNo,Integer  pageSize) throws Exception;
     /**
      * 通过id查询老人的健康信息
      * @param id
      * @return
      * @throws Exception
      */
	ElderHealthEntity queryByIdElderHealth(String id)throws Exception;
}
